﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiteVectorIndex.Engine
{
    public class PlainCollectionData
    {
        public int Version { get; set; }

        public int Dimension
        {
            get
            {
                return Vectors != null && Vectors.Count > 0 ? Vectors[0].Length : LiteVectorCollection.DEFAULT_DIMENSION;
            }
        }

        public MetricType MetricTypeInUse { get; set; }
        public List<float[]> Vectors { get; set; } = new();
        public List<int> Ids { get; set; } = new();
    }
}
